import Log4R from "shared/component/log/Log4R";
import { AnimServiceImpl } from "shared/modules/amin/service/AnimServiceImpl";
const loginfo = Log4R.getLog('info');
export default class AnimserviceServerImpl extends AnimServiceImpl {
    public getAnim(anim: string): Ctn.anim.AnimWeight | undefined {
        const weightMoudleScript = game.GetService('ServerStorage').FindFirstChild('anim')?.FindFirstChild(anim);
        if (weightMoudleScript?.IsA('ModuleScript')) {
            const weight = require(weightMoudleScript) as Ctn.anim.AnimWeight | undefined
            // loginfo?.info('weight', weight)
            return weight;
        }
        return
    }
}